<?php
$form = $this->beginWidget('CActiveForm',array(
	'id'=>'setting-form',
	'enableAjaxValidation'=>true,
));
?>
	<div class="setting_content">
		<div class="line">
		<?php 
			echo $form->labelEx($account,'*注册邮箱');
			echo $form->textField($account,'email',array('class'=>'text','value'=>$user->email,'disabled'=>true));
			echo $form->error($account,'email');
		?>
		</div>
		<div class="line">
		<?php 
			echo $form->labelEx($account,'*原始密码');
			echo $form->textField($account,'oldPassword',array('class'=>'text'));
			echo $form->error($account,'oldPassword');
		?>
		</div>
		<div class="line">
		<?php 
			echo $form->labelEx($account,'*新密码');
			echo $form->textField($account,'newPassword',array('class'=>'text'));
			echo $form->error($account,'newPassword');
		?>
		</div>
		<div class="line">
		<?php 
			echo $form->labelEx($account,'*确认新密码');
			echo $form->textField($account,'cPassword',array('class'=>'text'));
			echo $form->error($account,'cPassword');
		?>
		</div>
		<div class="line"><input class="submit_button" type="submit" id="setting-password" value=""></input></div>
	</div>
<?$this->endWidget();?>
</div>
<!-- left end -->
<?$this->renderPartial('_user',array('user'=>$user))?> 
</div>
